<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="Order.OrderDeal"%>
<html>
  <head>
    <title>删除订单</title>
  </head>
  
  <body><% 
  OrderDeal Order=new OrderDeal();
  String k=(String)request.getParameter("DeleteID");
  String Path=(String)request.getParameter("Path");
  String realPath=request.getRealPath("/")+Path;
  if(Order.DeleteOrder(k)==1)
  {
       //out.print("您已经成功删除订单--订单编号为      "+k); 
       out.print("<script>alert('删除成功 ')</script>");
       
  }
  else
  {
  		//out.print("您已经删除订单失败，请重新尝试！！ ");
        out.print("<script>alert('删除失败  ')</script>");
        
  }
  
  %>
   <script type="text/javascript">

        window.location.href="SearchOrder.jsp";    

   </script>


  </body>
</html>
